<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Relations\BelongsToMany;

class UserRelRole extends Model
{
    protected $table  = 'user_rel_role';
    public function roles(): BelongsToMany
    {
        return $this->belongsToMany(Role::class, UserRelRole::class, 'user_id', 'role_id');
    }
}
